﻿using System;
using System.Collections.Generic;

namespace TyMES.Communication.Request
{
    public class GMTemplatesRequest
    {
        public Guid ID {  get; set; }
        public string StationCode { get; set; }
        public string ParamCode { get; set; }
        public string ParamCodeKey { get; set; }
        public string Uperlimit { get; set; }
        public string Lowerlimit { get; set; }
        public int? sort { get; set; }
        public string EquCode { get; set; }
        public bool enable { get; set; }

    }

    public record GMTemplatesResponse(bool success,string Mesg, List<GMTemplate> templates);

    public class GMTemplate
    {
        public Guid ID { get; set; }
        public string StationCode { get; set; }
        public string ParamCode { get; set; }
        public string ParamCodeKey { get; set; }
        public string Uperlimit { get; set; }
        public string Lowerlimit { get; set; }
        public int? sort {  get; set; }
        public string EquCode { get; set; }
        public bool enable {  get; set; }
    }
}
